---
title: 百度地图
subTitle: 百度地图使用
---
<template>
  <div style="width: 300px; height: 300px;border: 1px solid">
    <my-map
      :center="[113.28, 23.14]"
      :z-index="10"
     :adapter="{
      type: 'Baidu', 
      url: 'http://127.0.0.1:8080/{z}/{x}/{y}.png' 
    }"></my-map>
    <!-- url: 'http://127.0.0.1:8080/?qt=vtile&x={x}&y={y}&z={z}&styles=pl&scaler=1&udt=20190718' -->
  </div>
</template>
<script>
export default {
  components: {},
  props: {
  },
  data() {
    return {
    }
  },
  computed: {
  },
  methods: {
  },
  created() {
  },
  mounted() {
  }
}
</script>
<style lang="scss" scoped>
</style>